*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #111;
}
.card{
  position: relative;
  width: 300px;
  height: 450px;
  display: flex;
}
.card span{
  position: absolute;
  top:0;
  left: calc(100%/6 * var(--i));
  width: calc(100%/6);
  height: 100%;
}
.card img{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
}
.card img:nth-child(2),
.card span:hover + img{
  opacity: 1;
}